package com.yuan.java.thread.threadLocal;

/**
 * threadLocal使用
 * Created by yeg on 2017/9/15.
 */
public class Param {

    private final static ThreadLocal<String> name = new ThreadLocal<>();

    public static String getName() {
        return name.get();
    }

    public static void setName(String yourName) {
        name.set(yourName);
    }
}
